# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd
pkgver=2.0.1
pkgrel=0
pkgdesc="Collection of scanner wrappers for OpenVAS"
url="https://www.openvas.org/"
arch="noarch"
license="GPL-2.0-or-later"
depends="python3 py3-paramiko py3-defusedxml py3-lxml"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/ospd/archive/v$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4aed0e1a22ea6c0db26977e7b0bde9c9c37890422f3480ad83ef23ad193b7ae3dd7352872c4fe377808d2a398317a4c1d38d7ab2ef5a0266c544e0ef55a0365a  ospd-2.0.1.tar.gz"
